import QtQuick 2.0

Rectangle {
    width: m_root_id.width
    height: 60

    property alias m_source: m_Image_id.source
    property alias m_text: m_Text_id.text

    signal clickSignal

    Image {
        id: m_Image_id
        anchors {
            verticalCenter: parent.verticalCenter
            left: parent.left
            leftMargin: 10
        }
    }

    AText {
        id: m_Text_id
        anchors {
            verticalCenter: parent.verticalCenter
            left: m_Image_id.right
            leftMargin: 10
        }
    }

    MouseArea {
        anchors.fill: parent
        onClicked: clickSignal()
    }
}

